const filterOption = {
	items: [
		{
			label: "关键字",
			type: "input",
			data: undefined,
			placeholder: "订单编号/专属编码/收件人/手机号/用户ID/男士姓名",
			value: undefined,
			key: "keyWord"
		},
		{
			label: "订单状态",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "orderStatus"
		},
		{
			label: "用户手机号",
			type: "input",
			data: undefined,
			placeholder: "用户手机号",
			value: undefined,
			key: "mobile"
		},
		{
			label: "用户id",
			type: "input",
			data: undefined,
			placeholder: "用户",
			value: undefined,
			key: "customerId"
		},
		{
			label: "发货门店",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "shipper"
		},
		{
			label: "预约单号",
			type: "input",
			data: undefined,
			placeholder: "输入预约单号",
			value: undefined,
			key: "reservationNo"
		},
		{
			label: "销售渠道",
			type: "dropdown",
			data: [{
					label: "官网",
					value: "官网"
				},
				{
					label: "一号店",
					value: "一号店"
				},
				{
					label: "天猫",
					value: "天猫"
				},
				{
					label: "重庆WFC店",
					value: "重庆WFC店"
				},
				{
					label: "深圳华强北店",
					value: "深圳华强北店"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "originChannel"
		},
		{
			label: "销售人员",
			type: "dropdown",
			data: [{
					label: "线上售前组-刘玲",
					value: "线上售前组-刘玲"
				},
				{
					label: "销售中心-魏丽华",
					value: "销售中心-魏丽华"
				},
				{
					label: "客户服务部-郑孟子",
					value: "客户服务部-郑孟子"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "salesman"
		},
		{
			label: "发货方式",
			type: "dropdown",
			data: [{
					label: "快递",
					value: "0"
				},
				{
					label: "自提",
					value: "1"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "shippingMethod"
		},
		{
			label: "支付状态",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "payStatus"
		},
		{
			label: "售中售后状态",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "aftersaleStatusName"
		},
		{
			label: "下单时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "creatTime"
		}
		
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
const path = ['销售管理', '客户订单','定制订单列表'];
//
const tableHeaderData = [
// 	{
// 		prop:'saleNumber',
// 		label:'订单单号',
// 		width:''
// 	},
	{
		prop:'exclusiveCode',
		label:'专属编码',
		width:'92'
	},
	{
		prop:'orderAmount',
		label:'订单金额',
		width:'100'
	},
	{
		prop:'amountPayable',
		label:'应付总金额',
		width:'100'
	},
	{
		prop:'showPay',
		label:'支付状态',
		width:'80'
	},
	{
		prop:'payAmount',
		label:'已支付金额',
		width:'100'
	},
	{
		prop:'payRatio',
		label:'支付比例',
		width:'80'
	},
	{
		prop:'waittingPayment',
		label:'待支付金额',
		width:'100'
	},
	{
		prop:'showMethod',
		label:'发货方式',
		width:'80'
	},
	{
		prop:'showOrderStatus',
		label:'订单状态',
		width:'80'
	},
	{
		prop:'bbb',
		label:'商品状态',
		width:'80'
	},
	{
		prop:'dictAftersaleStatus',
		label:'售中售后状态',
		width:'140'
	},
	{
		prop:'customerId',
		label:'用户id',
		width:'100'
	},
	{
		prop:'mobile',
		label:'客户手机号',
		width:'120'
	},
	{
		prop:'manName',
		label:'男士姓名',
		width:'80'
	},
	{
		prop:'recipientName',
		label:'收件人',
		width:'80'
	},
	{
		prop:'recipientPhone',
		label:'联系方式',
		width:'120'
	},
	{
		prop:'createTime',
		label:'下单时间',
		width:'180'
	},
	{
		prop:'receivingGoodsDate',
		label:'收货时间',
		width:'180'
	},
	{
		prop:'shipper',
		label:'发货门店',
		width:'80'
	},
	{
		prop:'originChannel',
		label:'销售渠道',
		width:'80'
	},
	{
		prop:'salesman',
		label:'销售人员',
		width:'80'
	},
	{
		prop:'reservationNo',
		label:'预约单号',
		width:'120'
	},
	{
		prop:'remarks',
		label:'用户备注',
		width:'80'
	},

]
//分页数据
const paginationObject = {
  currentPage: 1,
  pageSize: 1,
  pageTotal: 1,
  total:1,
  num1:1,
  num2:1
}

const searchFromData = {
	barcode: undefined,
}
const configArr = []

let Model = {
	data() {
		return {
			Model: {
				path:path,
				paginationObject,
				configArr,
				filterOption,
				tableHeaderData,
				tableData:[],
				dialogForm:{},//			//支付
				dialogFormVisible:false,	//支付弹窗
			}
		}
	}
}
export default Model;
